package com.ctaa.ctaa.service;

import com.ctaa.ctaa.dto.Result;
import com.ctaa.ctaa.pojo.UserInfoPojo;
import org.springframework.stereotype.Service;

@Service
public interface UserService {

    Result<UserInfoPojo> login(String email, String password);

    Result<Boolean> regist(String userName, String password, String email);

    Result<Boolean> forgotPassword(String email);


    Result<Boolean> modifyPass(String email, String password);
}
